{include file="kuerp/common/menu" /}
<form id="outbound-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Serial')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-serial" class="form-control" readonly name="row[serial]" type="text" value="{$row.serial|default=''}" placeholder="{:__('Serial')}">
            <input name="row[id]" type="hidden" value="{$row.id|default=''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('锁内码')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" readonly name="row[remark]" type="text"  value="{$row.remark|default=''}" placeholder="{:__('锁内码')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('关联订单')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="hidden" name="row[sale_id]" data-rule="required" value="" >
            <a style="color:#4397fd" href="javascript:void(0)" class="form-control select-contract" data-name="row[sale_id]"
                   data-url="kuerp/goods_sales_info/chosesale?stores_id={$row.stores_id|default=''}&goods_code={$row.goods_code|default=''}"
                >【请点击选择】</a>
            <div id="customer_name" class="hide"></div>
        </div>
    </div>
    
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
